package org.jeecg.trace.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.trace.dto.ProductionTraceDTO;

import java.util.List;
import java.util.Map;
@Mapper
public interface ProductionTraceMapper {

    IPage<ProductionTraceDTO> queryList(Page<ProductionTraceDTO> page, @Param("param") Map<String, String> map, @Param("array") List<String> ids);

    List<ProductionTraceDTO> queryTestDataList(@Param("array") List<String> unitsnList);

    Integer countAll( @Param("param") Map<String, String> map, @Param("array") List<String> ids);
}
